using UnityEngine;
using System.Collections;

public class ExitButton : MonoBehaviour 
{
	void OnMouseOver()
	{
		guiText.material.color = Color.red;
	}
	
	void OnMouseExit()
	{
		guiText.material.color = Color.white;
	}
	
	void OnMouseDown()
	{
		Application.LoadLevel("menu");
	}
}
